//
//  SMHTeamViewController.swift
//  SMHCommerce
//
//  Created by lvzhao on 2020/1/6.
//  Copyright © 2020 lvzhao. All rights reserved.
//

import UIKit

class SMHTeamViewController: LZBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        self.navigationItem.title = "销售部"
        setupUI()
        // Do any additional setup after loading the view.
    }
    
    
    // MARK: - setupUI
    func setupUI()  {
    
        self.view.addSubview(self.teamView)
        self.teamView.snp.makeConstraints { (make) in
            make.top.equalTo(0.5)
            make.left.right.bottom.equalTo(0)
        }
    }

    private lazy var teamView : SMHTeamView = {
        let teamView = SMHTeamView.init(viewModel: self.viewModel)
        return teamView
    }()
    
    
    private lazy var viewModel : SMHTeamViewModel = {
        let viewModel = SMHTeamViewModel()
        return viewModel
    }()
    
    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
